home *** CD-ROM | disk | FTP | other *** search
-
- MJSoft's Diary -- Simple Reminder Utility
-
- (c) 1992 Martin Mares, MJSoft System Software
-
- ================================================================================
-
-
- Preface
- =======
-
- Diary 1.0 and its documentation are Copyright (c) Martin Mares, MJSoft System
- Software, Prague, Czech Republic.
-
- This archive can be freely redistributed as long as all of its files are
- included in their original form without any additions, deletions or
- modifications (excluding addition of other README-style files and icons) and no
- more than a nominal fee is charged for its distribution. All copyright notices
- in the programs and accompanying documentation files must remain intact. It's
- especially forbidden to add various '.displayme' files and BBS advertisements.
- This style of distribution is generally known as FREEWARE.
-
- Special permission is given to Fred Fish to distribute this program on his
- "Fish Disks".
-
- This software is provided "AS IS" without warranty of any kind, either
- expressed or implied. The author is not responsible for any damage caused by
- it.
-
-
- Introduction
- ============
-
- Diary is a very old utility designed by me in 1992 for the 1.3 Kickstart
- and arp.library. It has slightly cryptic configuration file and only few
- features, but these features were always the only things I needed from it.
- Today, I decided to write documentation and release it, although it seems
- to be slightly out-of-date.
-
- Have you ever missed somebody's birthday or other anniversary? I have many
- times... until I wrote this utility. It examines a list of actions stored in
- configuration file and displays those which are in near future (exact meaning
- of `near future' is given as an argument in days). It's also capable of
- calculating how many years passed after something (somebody's birth etc.)
- happened.
-
- It's useful to include Diary in the Startup-sequence, but I wanted it to be
- started only when the date has changed since last boot -- in this case, you need
- the EveryDay utility.
-
- Example installation:
-
- :Asm/Load/EveryDay
- if warn
- diary 14
- endif
-
-
- Requirements
- ============
-
- - Kickstart 1.2 or newer
-
- - arp.library (_real_ arp library, no fake 2.0+ version)
-
-
- Command-line invocation
- =======================
-
- Diary has only one optional parameter called DAYS. It specifies how many days
- to the future shall Diary look when searching for events (default=0 -- examine
- only events happening today).
-
-
- Configuration file
- ==================
-
- The calendar data needed by Diary are contained in S:Diary.dat. This file is
- an usual ASCII text file -- each line corresponds to one event. Empty lines and
- lines beginning with '#' are silently ignored. The other lines have the
- following form:
-
- DD-MM-YY text
-
- or
-
- DD-MM-YYF text
-
- where DD specifies day, MM month, YY last two digits of year when has the
- event to be reported. You may use '?' instead of each digit you want to be
- ignored.
-
- <text> is the text you want to display. If you include '(QQ)' in the text
- (where QQ are last two digits of year), Diary will substitute the QQ by
- number of years between the given year (QQ) and current year -- if you use
- year of someone's birth, Diary will write how old is the person now.
-
- You may specify a single letter F containing time restriction. This letter
- specifies how many days in the future the event should be reported (it works
- _in_conjunction_ with the command-line argument -- the DAYS argument is _not_
- overriden by it). 'A' means ony today, 'B' today and tomorrow, ..., 'Z' means
- today and next 25 days.
-
- Let's have a look on the following example of config file:
-
- 13-12-??A Beware of werewolves
- 15-12-?? Alice's birthday (72)
- ??-??-?? Whereever you go, there you are.
- 31-11-00 Happens rarely
- 12-12-95C The Christmas is very near!
-
- On the 10th December 1995, you will get (assuming DAYS=10):
-
- Today is Sunday, 10-12-95.
-
- 10-12-95: Whereever you go, there you are.
- 11-12-95: Whereever you go, there you are.
- 12-12-95: Whereever you go, there you are.
- 12-12-95: The Christmas is very near!
- 13-12-95: Whereever you go, there you are.
- 14-12-95: Whereever you go, there you are.
- 15-12-95: Alice's birthday (23)
- 15-12-95: Whereever you go, there you are.
- 16-12-95: Whereever you go, there you are.
- 17-12-95: Whereever you go, there you are.
- 18-12-95: Whereever you go, there you are.
- 19-12-95: Whereever you go, there you are.
- 20-12-95: Whereever you go, there you are.
-
- I think it's sufficient.
-
-
- Notes
- =====
-
- Send comments, suggestions and bug reports to mjsoft@k332.feld.cvut.cz
-
-